package com.foreknow.test_IO;

import java.io.Serializable;

public class Student implements Serializable {
    private String Id;
    private String name;
    private String tel;
    private String email;

    public Student() {
    }

    public Student(String id, String name, String tel, String email) {
        Id = id;
        this.name = name;
        this.tel = tel;
        this.email = email;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return Id + "," + name + "," + tel + "," + email + ",";
    }
}